<template>
  <div>
    <Header />
    <router-view></router-view>
    <!-- 方式一： -->
    <!-- <Footer v-show="$route.path === '/home' || $route.path === '/search'" /> -->
    <Footer v-show="!$route.meta.isFooterHide" />
  </div>
</template>

<script>
import Header from "@comp/Header";
import Footer from "@comp/Footer";
export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
};
</script>

<style></style>
